<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ page import="java.util.*"%>
<%@ page import="com.lmpop.createIndex.search.*"%>
<%@page import="com.lmpop.frame.util.PageUtil"%>


<%
	Hashtable paraMap = new Hashtable();
	String ch_id = "";
	if (request.getParameter("ch_id") != null
			&& !request.getParameter("ch_id").equals("")) {
		ch_id = request.getParameter("ch_id");
		paraMap.put("ch_attr", ch_id);
	}

	String info_id = "";
	if (request.getParameter("info_id") != null
			&& !request.getParameter("info_id").equals("")) {
		info_id = request.getParameter("info_id");
		paraMap.put("info_id", info_id);
	}
	String ch_attr ="";
	if (request.getParameter("ch_attr") != null
			&& !request.getParameter("ch_attr").equals("")) {
		ch_attr = request.getParameter("ch_attr");
	}
	 
	if (!info_id.equals("")) {
		paraMap.put("ch_attr", "");
	}

	B2CHelpIndexFiles helpInfo = new B2CHelpIndexFiles();
	List helpList = helpInfo.getHelpInfo(paraMap);
%>
<!DOCTYPE html PUBliC "-//W3C//dtD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/dtD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>帮助中心</title>
		<link href="/templets/html/shop/css/style.css" rel="stylesheet"
			type="text/css" />
		<link href="/templets/html/shop/css/help.css" rel="stylesheet"
			type="text/css" />
				<script type='text/javascript' src='/dwr/engine.js'></script>
		<script type='text/javascript' src='/dwr/util.js'></script>
		<script type='text/javascript' src='/dwr/interface/Ti_subscribeInfo.js'></script> 
		<script type='text/javascript' src='/templets/html/shop/js/_shop.js'></script>
	</HEAD>
	<BODY>
	<script >
  document.write("<s" + "cript type='text/javascript' src='/templets/html/shop/top.jsp'></scr" + "ipt>"); 
</script>

		<div id="contaner">
			<div class="help_main">
				<div class="sidebar">
					<ul>
						<li><span class="slink s_01">帮助中心</span></li>
						<jsp:include page="/templets/html/shop/help_left.jsp">
							<jsp:param name="ch_attr" value="<%=ch_attr %>"/>
						</jsp:include>
						<%
							Hashtable contentMap = new Hashtable();
							if (null != helpList && helpList.size() > 0)
								contentMap = (Hashtable) helpList.get(0);
							String title = "", content = "";
							if (contentMap.get("title") != null)
								title = contentMap.get("title").toString();
							if (contentMap.get("content") != null)
								content = contentMap.get("content").toString();
						%>
					</ul>
				</div>
				<div class="content_01">
					<h4>
						<%=title %>
					</h4>
					<p>
						<%=content %>
					</p>


				</div>
			</div>


			<jsp:include page="/templets/html/shop/footer.jsp" />
	</BODY>
</HTML>
